package cn.wuxing.mediation.common.core.domain.entity;

import cn.wuxing.mediation.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * @description: <描述>
 * @date: 2024/9/18 22:27
 * @author: yang
 * @version: 1.0
 */
@Data
@TableName("cm_ordinary_dispute_event")
public class CmOrdinaryDisputeEvent extends BaseEntity {

    /** 事项ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 事项编码 */
    @TableField("event_code")
    private String eventCode;

    /** 事项类型 */
    @TableField("event_type")
    private Integer eventType;

    /** 事项来源 */
    @TableField("event_source")
    private Integer eventSource;

    /** 涉事人员 */
    @TableField("person_involved")
    private String personInvolved;

    /** 案件状态 */
    @TableField("event_state")
    private Integer eventState;

    /** 发生日期 */
    @TableField("initiate_time")
    private Date initiateTime;

    /** 纠纷发生地 */
    @TableField("dispute_address")
    private String disputeAddress;

    /** 是否越级上访 */
    @TableField("is_bypass_levels")
    private Integer isBypassLevels;

    /** 纠纷特殊属性 */
    @TableField("mediate_special_attributes")
    private Integer mediateSpecialAttributes;

    /** 涉及特殊群体 */
    @TableField("is_concern_special_groups")
    private Integer isConcernSpecialGroups;

    /** 难度级别 */
    @TableField("difficulty_level")
    private Integer difficultyLevel;

    /** 有无死亡 */
    @TableField("is_death")
    private Integer isDeath;

    /** 案件预测 */
    @TableField("event_predict")
    private Integer eventPredict;

    /** 来访人数 */
    @TableField("people_num")
    private Integer peopleNum;

    /** 纠纷描述 */
    @TableField("event_desc")
    private String eventDesc;

    /** 诉求描述 */
    @TableField("appeal_description")
    private String appealDescription;

    /** 所属辖区 */
    @TableField("area_id")
    private String areaId;

    /** 是否现场调解0否 1是 */
    @TableField("is_scene_mediation")
    private Integer isSceneMediation;

    /** 专窗ID */
    @TableField("window_id")
    private Long windowId;

    /** 调解人ID */
    @TableField("mediator_committee_user_id")
    private Long mediatorCommitteeUserId;

    /** 乡镇街道社会治理中心ID */
    @TableField("villages_sg_center_id")
    private Long villagesSgCenterId;

    /**
     * 结案内容
     */
    @TableField("close_case_content")
    private String closeCaseContent;

    /**
     * 结案附件
     */
    @TableField("close_case_file_url")
    private String closeCaseFileUrl;

    /**
     * 草稿状态（0 正常 1草稿)
     */
    @TableField("draft_flag")
    private Integer draftFlag;

    /** 删除标志 */
    @TableField("del_flag")
    private String delFlag;

    /** 备注 */
    @TableField("remark")
    private String remark;

    /**
     * 删除时间
     */
    @TableField("del_time")
    private Date delTime;

    /**
     * 收案时间
     */
    @TableField("settle_time")
    private Date settleTime;

    /**
     * 登记人
     */
    @TableField("register_user_id")
    private Long registerUserId;
}